package com.shujia.wyh.entity;

import org.springframework.data.redis.core.ZSetOperations;

public class MyTypedTuple<String> implements ZSetOperations.TypedTuple<String> {
    private String value;
    private Double score;


    public MyTypedTuple(String value,Double score){
        this.value = value;
        this.score = score;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public Double getScore() {
        return score;
    }

    @Override
    public int compareTo(ZSetOperations.TypedTuple<String> o) {
        return 0;
    }
}
